package com.hethongviet.vending;

public final class Constant
{

	/* SMS */
	public static final String NUMBER_DEBUG_EXIT_APP = "0975075350";
	public static final String NUMBER_DEBUG_BUYER = "0984000725";
	public static final String NUMBER_DEBUG_ADMIN = "0942478466";
	public static final String NUMBER_DEBUG_ADMIN_1 = "0914661379";
	public static final String NUMBER_DEBUG_SALESMAN = "0983497310";

	/* Time */
	public static final int TIME_ADVERTISEMENT_STEP = 3000;
	public static final int TIME_UPDATE_DATA = 86400000;// A DAY

	public static final int TIME_OUT_STEP = 1000;
	public static final int TIME_OUT_USER = 60000;
	public static final int TIME_OUT_USER_NOT_OPERATING = 30000;
	public static final int TIME_OUT_SERVICE = 60000;
	public static final int TIME_OUT_SERVICE_NOT_OPERATING = 30000;
	public static final int TIME_OUT_WAIT_DIALOG = 10000;
	public static final int TIME_OUT_WAIT_PRODUCT_DELIVERY = 15000;
	public static final int TIME_OUT_WELCOME = 3000;
	public static final int TIME_OUT_WAIT_BLUETOOTH = TIME_OUT_USER_NOT_OPERATING >> 1;
	public static final int TIME_OUT_WAIT_DIALOG_BUY_PRODUCT_SUCESS = 3000;

	/* Layout */
	public static final int MAX_VIEWS_A_COLUMN = 5;
	public static final int MAX_COLUMNS = 3;
	public static final int MAX_VIEWS_A_PAGE = MAX_COLUMNS * MAX_VIEWS_A_COLUMN;

	public static final int MAX_BOX_AMOUNT = 40;
	public static final int MACHINE_GROUP_ID = 0;
	public static final int MACHINE_LOCATION_ID = 0;

	/* Machine maintain */
	public static final int REQUEST_UPDATE_DATA = 0;
	public static final int REQUEST_FAIL_LOAD_INFO = REQUEST_UPDATE_DATA + 1;
	public static final int REQUEST_ERROR_DEVICE = REQUEST_FAIL_LOAD_INFO + 1;
	public static final int REQUEST_NONE = REQUEST_ERROR_DEVICE + 1;

	public static long MAX_TIME_OUT_BLUETOOTH_MESSAGE = 150;

	public static String EXTRA_FINISH = "finish_number";

	/* Text slogan */
	public static final int TIME_SLOGAN_WAIT_A_TRANSPORT_TEXT = 100;
	public static final int TIME_SLOGAN_STEP = 10000;
	public static final int SLOGAN_DISTANCE_A_TRANSPORT = 30;

	public static final String CODE_BLUETOOTH_PAY_MONEY_IN = "50";

	public static final int IMAGE_WIDTH = 50;
	public static final int IMAGE_HEIGHT = 50;

}
